2670 IF HSS%=-1 THEN PRINT " ";:ELSE PRINT USING " ### ";HSS%;
2680 IF LPTS>0 THEN PRINT USING "+##.#";LPTS;
2690 LOCATE 25,1:PRINT LEFT$(BLNK$,39);:LOCATE 25,1:PRINT USING "####";GD%;:PRINT ". ";VS$;
2700 IF VSS%=-1 THEN PRINT " ";:ELSE PRINT USING " ### ";VSS%;
2710 IF LPTS<0 THEN PRINT USING "+##.#";-LPTS;
2720 LOCATE 23,1:PRINT LEFT$(BLNK$,39);:LOCATE 23,1:INPUT"Enter home score (or nothing)";S$:IF LEN(S$)=0 THEN 2730:ELSE HSS%=VAL(S$):IF HSS%<-1 THEN 2720
2730 LOCATE 23,1:PRINT LEFT$(BLNK$,39);:LOCATE 23,1:INPUT"Enter visitor score (or nothing)";S$:IF LEN(S$)=0 THEN 2740:ELSE VSS%=VAL(S$):IF VSS%<-1 THEN 2730
2740 LOCATE 23,1:PRINT LEFT$(BLNK$,39);:LOCATE 23,1:PRINT"Line: Hit 'H', 'V', or 'N' for nothing";:GOSUB 820:IF C$="N" THEN 2770:ELSE IF (C$<>"H")AND(C$<>"V") THEN 2740
2750 LOCATE 23,1:PRINT LEFT$(BLNK$,39);:LOCATE 23,1:INPUT"By how many? (or nothing)";S$:IF LEN(S$)=0 THEN 2770:ELSE LPTS=VAL(S$):IF LPTS<0 THEN 2750:ELSE IF C$="H" THEN LPTS=-LPTS
2760 LPTS%=LPTS*10
2770 REM print for verification
2780 IF (HSS%=GM%(3,GD%))AND(VSS%=GM%(4,GD%))AND(LPTS%=GM%(5,GD%)) THEN 2900
3100 CLS:PRINT" Help for Game/Team Maintenance":PRINT
3110 PRINT"This menu has options for team and game"
3120 PRINT"file maintenance. The team file is used"
3130 PRINT"to maintain the names and types of the"
3140 PRINT"teams included in the game schedule.":PRINT"The game file is a master schedule of":PRINT"all pro and highlighted college games."
3150 PRINT"You may opt to leave the schedule as is":PRINT"or to tailor it using the maintenance":PRINT"options."
3160 PRINT:PRINT"There are 3 types of teams: Pro, ":PRINT"College, and Other. They are designated"
3170 PRINT"as such by the first letter of the type":PRINT"(P,C,O). You may add teams, change the"
3180 PRINT"spellings of team names, or delete the"
3190 PRINT"teams that you want to remove from the"
3200 PRINT"master schedule. You must first delete":PRINT"all games for a team you want to remove."
3210 GOSUB 3570:PRINT"Games are stored in order by date. Game":PRINT"information includes the home & visitor":PRINT"teams and scores, as well as the line"
3220 PRINT"for the game. You may delete games from":PRINT"the file, update the scores or lines,":PRINT"and add new games.":PRINT
3230 PRINT"Due to memory constraints, the number":PRINT"of different teams will be restricted":PRINT"to 90, and the master game schedule"
3240 PRINT"may contain up to 800 games."
3250 PRINT"When you leave this menu, if you have":PRINT"changed the team or game file, you will":PRINT"have to verify that you want to save":PRINT"the changes."
3260 PRINT:PRINT"More detailed information on team/game":PRINT"file maintenance can be found in the":PRINT"help screens available as options on":PRINT"their menus."
3270 GOSUB 3570:RETURN
3280 CLS:PRINT"Help Information for Team Maintenance":PRINT:PRINT"You may select options by hitting the":PRINT"first character or the Fn keys.":PRINT
3290 PRINT"Options available:":PRINT
3300 PRINT"Quit(F1)- This will take you from team":PRINT" maintenance to where you came from,":PRINT" either the game or main menu.":PRINT
3310 PRINT"Delete(F3)- This will allow you to":PRINT" remove a team name and make room for":PRINT" another if necessary. All games for":PRINT" the team must be deleted first.":PRINT
3320 PRINT"Add(F5)- This will allow you to add a":PRINT" team to the list if there is room.":PRINT" You will be prompted for the name":PRINT" and then to verify it. The name will":PRINT" be inserted into the first open spot":PRINT" in the list.
3330 GOSUB 3570
3340 PRINT"Update(F7)- This will let you alter the":PRINT" spelling of a team name. You must ":PRINT" enter the new name and verification":PRINT" that you want it changed.":PRINT
3350 PRINT"Help (F8)- This will re-display these ":PRINT" help screens.":PRINT
3360 PRINT"Back(F9)- This will scroll teams":PRINT" back a screen so you can see all":PRINT" team names.":PRINT
3370 PRINT"Forward(F10)- This will scroll teams":PRINT" forward a screen.":PRINT
3380 IF MODE=2 THEN 3400
3390 PRINT"Game(F6)- This will take you to a game":PRINT" file maintenance screen, in which ":PRINT" you may do all functions except add.":PRINT:GOTO 3410
3400 PRINT"Teams(F6)- This will allow you to pick":PRINT" a home and visitor team so you can":PRINT" add game entries for them. If you do":PRINT" not enter team #s, the teams will":PRINT" stay the same."
3410 GOSUB 3570:C$="0":OLDTOP=-1:RETURN
3420 CLS:PRINT"Help Information for Game Maintenance":PRINT:PRINT"You may select options by hitting the ":PRINT"first character or the Fn keys.":PRINT
3430 PRINT"Options available:":PRINT
3440 PRINT"Quit(F1)- This will take you from game":PRINT" maintenance to where you came from,":PRINT" either the team or main menu.":PRINT
3450 PRINT"Select(F2)- This will let you display":PRINT" games for a selected date range ":PRINT" (start-end date) or ALL to get all.":PRINT
3460 PRINT"Delete(F3)- This will allow you to":PRINT" remove a game. You must enter the":PRINT" game number and verification that":PRINT" you truly want to delete the game.":PRINT
3470 GOSUB 3570:IF MODE=1 THEN 3510
3480 PRINT"Add(F5)- This will allow you to add a":PRINT" game to the master list if there is":PRINT" room. You must first select teams":PRINT " by going into the teams list. Then":PRINT" you must verify that they are the"
3490 PRINT" ones you want. You may enter a line":PRINT" if you know it. Then you must verify":PRINT" that you want to add the record. It":PRINT" will be inserted in date sequence.":PRINT
3500 PRINT"Team(F6)- Allows you to switch to the":PRINT" team list screen to select teams.":PRINT
3510 PRINT"Update(F7)- This will allow you to":PRINT" enter the score and line for a game.":PRINT" After making the changes, you must":PRINT" verify the changes are valid.":PRINT
3520 PRINT"Help(F8)- This will re-display these":PRINT" help screens.":PRINT
3530 IF MODE=2 THEN GOSUB 3570
3540 PRINT"Back(F9)- This will scroll games":PRINT" back a screen so you can see all":PRINT" games.":PRINT
3550 PRINT"Forward(F10)- This will scroll games":PRINT" forward a screen.":PRINT
3560 GOSUB 3570:C$="0":GOLDTOP=-1:RETURN
3570 LOCATE 25,1:PRINT"Hit any key to continue";:GOSUB 820:CLS:RETURN
3580 REM error handling routines
3590 PRINT:IF ERL=90 AND ERR=53 THEN PRINT"TEAMS data not found on logged drive.":NT=0:GOSUB 3750:RESUME 140
3600 IF ERL=170 AND ERR=53 THEN PRINT"GAMES data not found on logged drive.":NG=0:GOSUB 3750:RESUME 240
3610 IF (ERL=90 OR ERL=110) AND (ERR=24 OR ERR=25 OR ERR=62 OR ERR=71 OR ERR=72) THEN PRINT"Error reading TEAMS on logged drive.":ELSE GOTO 3630
3620 GOSUB 3730:CLOSE#1:IF C$="R" THEN RESUME 90:ELSE RESUME 500
3630 IF (ERL=170 OR ERL=190) AND (ERR=24 OR ERR=25 OR ERR=62 OR ERR=71 OR ERR=72) THEN PRINT"Error reading GAMES on logged drive.":ELSE GOTO 3650
3640 GOSUB 3730:CLOSE#2:IF C$="R" THEN RESUME 170:ELSE RESUME 500
3650 IF ERR=100 THEN PRINT"Invalid team referenced by GAMES data.":PRINT"Please restore or delete GAMES file.":RESUME 500
3651 IF ERR=101 THEN CLS:PRINT"This program must be accessed through":PRINT"the POOLER program only.":GOSUB 3750:SYSTEM
3652 IF ERR=151 THEN CLS:PRINT"Invalid number of teams in TEAMS.DAT":PRINT"file. Restore old file and re-try.":GOSUB 3750:SYSTEM
3653 IF ERR=152 THEN CLS:PRINT"Invalid number of games in GAMES.DAT":PRINT"file. Restore old file and re-try.":GOSUB 3750:SYSTEM
3660 IF (ERL=380 OR ERL=390 OR ERL=410) AND (ERR=24 OR ERR=25 OR ERR=53 OR ERR=61 OR ERR=70 OR ERR=71 OR ERR=72) THEN 3670:ELSE 3680
3670 PRINT"Error writing TEAMS on logged drive.":GOSUB 3730:IF C$="R" THEN RESUME 380:ELSE RESUME 500
3680 IF (ERL=380 OR ERL=390 OR ERL=410) AND (ERR=24 OR ERR=25 OR ERR=53 OR ERR=61 OR ERR=70 OR ERR=71 OR ERR=72) THEN 3690:ELSE 3700
3690 PRINT"Error writing GAMES on logged drive.":GOSUB 3730:IF C$="R" THEN RESUME 440:ELSE RESUME 500
3700 IF ERL=500 AND (ERR=53 OR ERR=71 OR ERR=72) THEN 3710:ELSE 3720
3710 PRINT"Please put disk with POOLER.BAS":PRINT"in the logged drive.":GOSUB 3730:IF C$="R" THEN RESUME 500:ELSE SYSTEM